package com.hg.service;



import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hg.pojo.HgMallDish;
import com.hg.pojo.dto.HgMallDishDTO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 【请填写功能名称】Service接口
 * 
 * @author ruoyi
 * @date 2022-11-02
 */
@Transactional
public interface HgMallDishService extends IService<HgMallDish> {

    Page<HgMallDishDTO> dishPage(int currentPage, int pageSize, String dishName, String shopName, String category);

    Boolean updateDish(HgMallDish hgMallDish);

    Boolean deleteDishById(Long id);

    Boolean deleteShopByIds(Long[] ids);

    List<HgMallDish> getDishOptionsByShopId(Integer shopId);
}
